import {Component} from "@angular/core";
import {IonicPage, NavController} from "ionic-angular";

@IonicPage()
@Component({
  templateUrl:'busifood-order-detail.html',
  selector:'busifood-order-detail'
})

export class BusifoodOrderDetailPage{

  count:any;
  sum:any;

  dinner:Array<{name:string,price:any}>;
  constructor(public nav:NavController ){
    this.count=2;
    this.sum=32.00;
    this.dinner=[
      {name:'红烧茄子',price:14.00},{name:'水煮青菜',price:12.00},
      {name:'白灼小青菜',price:12.00},{name:'水煮鱼',price:22.00}
    ]
  }

  confirmOrder(){
      this.nav.push('CashdetailPage');
  }
}
